<template>
	<view>
		<view class="center ">
			<view class="d-flex bb" @tap="goFinceCenter">
				<view class="flex-1 mt-3 mb-3 ml-2 fs28 ls2">资产统计</view>
				<image class="m-2 mt-4" src="@/static/img/user/right.png" mode="widthFix" style="width: 15rpx;">
				</image>
			</view>
			<view class="d-flex bb" @tap="goRecharge">
				<view class="flex-1 mt-3 mb-3 ml-2 fs28 ls2">账户充值</view>
				<image class="m-2 mt-4" src="@/static/img/user/right.png" mode="widthFix" style="width: 15rpx;">
				</image>
			</view>
			<view class="d-flex bb" @tap="goWithdrawal">
				<view class="flex-1 mt-3 mb-3 ml-2 fs28 ls2">余额提现</view>
				<image class="m-2 mt-4" src="@/static/img/user/right.png" mode="widthFix" style="width: 15rpx;">
				</image>
			</view>
			<view class="d-flex bb" @tap="goTfReply1">
				<view class="flex-1 mt-3 mb-3 ml-2 fs28 ls2">账户转币</view>
				<image class="m-2 mt-4" src="@/static/img/user/right.png" mode="widthFix" style="width: 15rpx;">
				</image>
			</view>
			<view class="d-flex bb" @tap="goTfReply2">
				<view class="flex-1 mt-3 mb-3 ml-2 fs28 ls2">会员间转报单币</view>
				<image class="m-2 mt-4" src="@/static/img/user/right.png" mode="widthFix" style="width: 15rpx;">
				</image>
			</view>
			<view class="d-flex bb" @tap="goMoneychange">
				<view class="flex-1 mt-3 mb-3 ml-2 fs28 ls2">财务流水</view>
				<image class="m-2 mt-4" src="@/static/img/user/right.png" mode="widthFix" style="width: 15rpx;">
				</image>
			</view>
		</view>
	</view>
</template>
<script>
	import {
		mapState,
		mapMutations
	} from 'vuex';
	export default {
		data() {
			return {
				version: ''
			}
		},
		onLoad() {

		},
		computed: {
			...mapState(['hasLogin']),
		},
		methods: {
			...mapMutations(['logout']),

			//资产统计
			goFinceCenter() {
				uni.navigateTo({
					url: '/pages/finance/finace_center'
				})
			},

			//账户充值
			goRecharge() {
				uni.navigateTo({
					url: '/pages/finance/recharge'
				})
			},

			//余额提现
			goWithdrawal() {
				uni.navigateTo({
					url: '/pages/finance/withdrawal'
				})
			},

			//财务流水
			goMoneychange() {
				uni.navigateTo({
					url: '/pages/finance/money_change'
				})
			},

			goTfReply1() {
				uni.navigateTo({
					url: '/pages/finance/tf_reply1'
				})
			},

			goTfReply2() {
				uni.navigateTo({
					url: '/pages/finance/tf_reply2'
				})
			},
		}
	}
</script>

<style>
	.btn {
		color: white;
		background-color: #29ad97;
		border-radius: 50rpx;
		margin: 100rpx 20rpx;
		font-size: 32upx;
		letter-spacing: 2upx;
	}

	page {
		background-color: #f0efee;
	}

	.center {
		width: 94%;
		height: 100%;
		background-color: white;
		margin: 20rpx auto;
		border-radius: 20rpx;
	}

	.bb {
		border: 1rpx solid #f3f3f3;
	}
</style>
